﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;

namespace RenderTheBetterEllipse
{
    class RenderTheBetterEllipse : Window
    {
        public RenderTheBetterEllipse()
        {
            this.Title = "Render the Better Ellipse";

            BetterEllipse elips = new BetterEllipse();
            elips.Fill = Brushes.AliceBlue;
            elips.Stroke = new Pen(new LinearGradientBrush(Colors.CadetBlue, Colors.Chocolate, new Point(1, 0), new Point(0, 1)), 24);
            elips.Width = 50;
            this.Content = elips;
        }
    }
}
